



export interface ExampleFlatNode {
	expandable: boolean;
	name: string;
	level: number;
	id: number;
}


export class ISystemUser {
	loginName: string;
	userName: string;
	password: string;
	mobile: string;
	roles: string;
	id: string;
	deptId?: string;
}
export class ISystemRole {
	roleName: string;
	id: number;
}

export class BaseNode<T> {
	level?: number;
	children?: ISystemOrganize[];
	isSpinning?: boolean;
	expand?: boolean;
	parent?: T;
	value?: string | number;
	label?: string;
	isLeaf?: boolean;
}


export class ISystemOrganize extends BaseNode<ISystemOrganize> {
	deptName: string;
	id: number;
	parentId:number;
	areaFullName: string;
	ownerCommunity: any;
}


export class ISystemMenu extends BaseNode<ISystemMenu> {
	createBy: number;
	createDate: string;
	delFlag:  string;
	id: number;
	parentId:  number;
	permission: null
	remarks: string
	resName: string;
	resSort: number;
	resType: string;
	resTypeList?: any[]
	resUrl: string
	updateBy: number;
	updateDate: string;
}